package com.runfast.waimai.dao.model;

import java.io.Serializable;

public class RunfastGoodsSellStandard implements Serializable {
    private Integer id;

    private String barcode;

    private Double discount;

    private Integer goodssellid;

    private String name;

    private Double price;

    private String procode;

    private Integer businessid;

    private String businessname;

    /**
     * 剩余库存
     */
    private Integer num;

    /**
     * 月销售数量
     */
    private Integer saleNum;

    /**
     * 规格排序
     */
    private Integer sort;

    /**
     * 餐盒费
     */
    private Double packageFee;

    /**
     * 特价
     */
    private Double disprice;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastGoodsSellStandard withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBarcode() {
        return barcode;
    }

    public RunfastGoodsSellStandard withBarcode(String barcode) {
        this.setBarcode(barcode);
        return this;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode == null ? null : barcode.trim();
    }

    public Double getDiscount() {
        return discount;
    }

    public RunfastGoodsSellStandard withDiscount(Double discount) {
        this.setDiscount(discount);
        return this;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Integer getGoodssellid() {
        return goodssellid;
    }

    public RunfastGoodsSellStandard withGoodssellid(Integer goodssellid) {
        this.setGoodssellid(goodssellid);
        return this;
    }

    public void setGoodssellid(Integer goodssellid) {
        this.goodssellid = goodssellid;
    }

    public String getName() {
        return name;
    }

    public RunfastGoodsSellStandard withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getPrice() {
        return price;
    }

    public RunfastGoodsSellStandard withPrice(Double price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getProcode() {
        return procode;
    }

    public RunfastGoodsSellStandard withProcode(String procode) {
        this.setProcode(procode);
        return this;
    }

    public void setProcode(String procode) {
        this.procode = procode == null ? null : procode.trim();
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastGoodsSellStandard withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastGoodsSellStandard withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public Integer getNum() {
        return num;
    }

    public RunfastGoodsSellStandard withNum(Integer num) {
        this.setNum(num);
        return this;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public RunfastGoodsSellStandard withSaleNum(Integer saleNum) {
        this.setSaleNum(saleNum);
        return this;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public Integer getSort() {
        return sort;
    }

    public RunfastGoodsSellStandard withSort(Integer sort) {
        this.setSort(sort);
        return this;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Double getPackageFee() {
        return packageFee;
    }

    public RunfastGoodsSellStandard withPackageFee(Double packageFee) {
        this.setPackageFee(packageFee);
        return this;
    }

    public void setPackageFee(Double packageFee) {
        this.packageFee = packageFee;
    }

    public Double getDisprice() {
        return disprice;
    }

    public RunfastGoodsSellStandard withDisprice(Double disprice) {
        this.setDisprice(disprice);
        return this;
    }

    public void setDisprice(Double disprice) {
        this.disprice = disprice;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", barcode=").append(barcode);
        sb.append(", discount=").append(discount);
        sb.append(", goodssellid=").append(goodssellid);
        sb.append(", name=").append(name);
        sb.append(", price=").append(price);
        sb.append(", procode=").append(procode);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", num=").append(num);
        sb.append(", saleNum=").append(saleNum);
        sb.append(", sort=").append(sort);
        sb.append(", packageFee=").append(packageFee);
        sb.append(", disprice=").append(disprice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}